#include <xen/pci.h>
#include <xen/init.h>
#include <xen/delay.h>
+#include <asm/io_apic.h>
#undef DEBUG
#include <xen/config.h>
#include <xen/types.h>
+#include <asm/mpspec.h>
/*
* Intel IO-APIC support for SMP and UP systems.
} while (size);
return order;
}
+
+extern void zap_low_mappings(void);
#endif
#endif /* _I386_PAGE_H */
extern void smp_send_reschedule(int cpu);
extern void smp_invalidate_rcv(void); /* Process an NMI */
extern void (*mtrr_hook) (void);
-extern void zap_low_mappings (void);
/*
* On x86 all CPUs are mapped 1:1 to the APIC space.
#include <xen/time.h>
#include <xen/ac_timer.h>
#include <xen/delay.h>
+#include <asm/atomic.h>
#define STACK_SIZE (2*PAGE_SIZE)
#include <asm/current.h>
/*
* These macros fold the SMP functionality into a single CPU system
*/
-
+
+#define smp_send_event_check_mask(_m) ((void)0)
+#define smp_send_event_check_cpu(_p) ((void)0)
#define smp_num_cpus 1
#define smp_processor_id() 0
#define hard_smp_processor_id() 0
#define spin_trylock(lock) ({1; })
#define spin_unlock_wait(lock) do { } while(0)
#define spin_unlock(lock) do { } while(0)
+#define spin_lock_recursive(lock) do { } while(0)
+#define spin_unlock_recursive(lock) do { } while(0)
#if (__GNUC__ > 2)
typedef struct { } rwlock_t;